package com.sheliduan.itlearning.common.domain.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 断舍离
 * @date: 2025/2/8 21:23
 * @description: 用户收藏表实体类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_user_collect")
public class UserCollectDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    // 用户id
    private Integer userId;

    // 用户收藏的课程类型
    private Integer type;

    // 用户收藏的课程id
    private Integer courseId;
}
